package ru.niir.goodfil.c1;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("Rest")
public class Rest
{
    @XStreamAsAttribute
    private String goodCode1C;

    @XStreamAsAttribute
    private int freeCount;

    @XStreamAsAttribute
    private int reservedCount;

    public Rest()
    {
    }

    public Rest(String goodCode1C, int freeCount, int reservedCount)
    {
        this.goodCode1C = goodCode1C;
        this.freeCount = freeCount;
        this.reservedCount = reservedCount;
    }

    public String getGoodCode1C()
    {
        return goodCode1C;
    }

    public void setGoodCode1C(String goodCode1C)
    {
        this.goodCode1C = goodCode1C;
    }

    public int getFreeCount()
    {
        return freeCount;
    }

    public void setFreeCount(int freeCount)
    {
        this.freeCount = freeCount;
    }

    public int getReservedCount()
    {
        return reservedCount;
    }

    public void setReservedCount(int reservedCount)
    {
        this.reservedCount = reservedCount;
    }
}
